import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
import './assets/reset/reset.css'

// 自动注册
import baseComponent from './plugins/baseComponent'
Vue.use(baseComponent)
/**
 * vue使用
 */
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import style
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default options with global component } */)

// 实例化api
import api from './api/index'
Vue.prototype.$api = api;


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
